/*
 *  linux/arch/arm/mach-uniphier/unit-mn2ws0220_ref/include/unit/backup-ram-layout.h
 *
 *  Copyright (C) 2012 Panasonic Corporation
 *  - Derived from arch/arm/mach-omap2/omap4-sar-layout.h
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
#ifndef __ASM_UNIT_BACKUP_RAM_LAYOUT_H
#define __ASM_UNIT_BACKUP_RAM_LAYOUT_H

#include <scc/ucd_memmap_model.h>

#define UNIPHIER_SUSPEND_RAM_BASE		0xC0A81000

/* CPUx Wakeup Non-Secure Physical Address offsets */
#define CPU0_WAKEUP_NS_PA_ADDR_OFFSET		0x000
#ifdef CONFIG_SMP
#define CPU1_WAKEUP_NS_PA_ADDR_OFFSET		0x004
#endif

#define SCU_OFFSET0				0x008
#define SCU_OFFSET1				0x00c

#define LPD_SAVEDATA_OFFSET			0x100

#define BOOTMODE_BASE				(0x80000000 + DDR_CONFIG_OFFSET + 0xFFC)

#endif /* __ASM_UNIT_BACKUP_RAM_LAYOUT_H */
